CFLAGS = -fno-builtin -Wall -Wstrict-prototypes -nostdinc -nostartfiles -nodefaultlibs -m32 -I./include -c

all:
	gcc $(CFLAGS) events/*.c
	gcc $(CFLAGS) hardware/*.c
	gcc $(CFLAGS) interpreter/dispatcher/*.c
	gcc $(CFLAGS) interpreter/executer/*.c
	gcc $(CFLAGS) interpreter/parser/*.c
	gcc $(CFLAGS) namespace/*.c
	gcc $(CFLAGS) resources/*.c
	gcc $(CFLAGS) tables/*.c
	gcc $(CFLAGS) utilities/*.c
	mv *.o output/
	ar rcs acpi.a output/*.o
